#include <stdio.h>

void printNum(int number);

int main(int argc, char const *argv[]) {

    // Bechmark
    int count = 1000000;
    printNum(count);

    return 0;
}

void printNum(int number) {
    if (number != 0) {
        printf("%d\n", number);
        printNum(number-1);
    } else {
        printf("0\n");
    }
}
